package com.library.books.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.library.books.domain.BooksLib;
import com.library.common.annotation.DataSource;
import com.library.common.enums.DataSourceType;

/**
 * 其他书籍库Mapper接口
 *
 * @author hb
 * @date 2024-10-30
 */
@DataSource(DataSourceType.SLAVE)
public interface BooksLibMapper extends BaseMapper<BooksLib>
{

    BooksLib selectBooksLibNewestByIsbn(String isbn);

    boolean insertBooksLib(BooksLib booksLib);
}
